package com.jy.rhin.model.body.feiyong;

import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * 费用条目
 */
@Data
public class FeiYongTM {
    //住院费用分类名称
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE07.00.009.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_009_00))
    String zhuYuanFYFLMC;
    //住院费用分类代码
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE07.00.008.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE07_00_008_00))
    CodeObject zhuYuanFYFL;
}
